<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:75:"D:\wwwroot\fangcms_city_add\public/../application/home\view\store\news.html";i:1493437688;s:78:"D:\wwwroot\fangcms_city_add\public/../application/home\view\public\layout.html";i:1493431594;s:79:"D:\wwwroot\fangcms_city_add\public/../application/home\view\store\userinfo.html";i:1493438055;s:74:"D:\wwwroot\fangcms_city_add\public/../application/home\view\store\nav.html";i:1493435137;s:76:"D:\wwwroot\fangcms_city_add\public/../application/home\view\store\right.html";i:1493438371;s:78:"D:\wwwroot\fangcms_city_add\public/../application/home\view\public\footer.html";i:1493803247;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<!-- manifest="cache.manifest" -->
<head>
    <meta charset="utf-8" />
    <title><?php echo $seo['title']; ?></title>
    <meta name="keywords" content="<?php echo $seo['keys']; ?>" />
    <meta name="description" content="<?php echo $seo['desc']; ?>" />
    <link type="text/css" rel="stylesheet"  href="__CSS__/format_dom.css"/>
    <link type="text/css" rel="stylesheet"  href="__CSS__/main.css"/>
    <!--[if lte IE 8]>
    <script src="__JS__/ie/html5shiv.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <![endif]-->
    <script src="__PUBLIC__/js/jquery.min.js"></script>
</head>
<body>
<div>
    <div class="top_line">
        <div class="main">
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                <li><a href="<?php echo url('Agency/index'); ?>">经纪人</a></li>
            </ul>
            <?php if(empty($userInfo) || (($userInfo instanceof \think\Collection || $userInfo instanceof \think\Paginator ) && $userInfo->isEmpty())): ?>
            <span><a href="<?php echo url('user.login/index'); ?>" >登录</a></span>
            <span><a href="<?php echo url('user.login/reg'); ?>" >注册</a></span>
            <?php else: ?>
            <div style="float:right;color:#fff;"><em><?php echo $userInfo['nickname']; ?></em>,欢迎您的到来 <a href="<?php echo url('user.index/index'); ?>">会员中心</a> | <a href="<?php echo url('user.login/logout'); ?>">退出</a></div>
            <?php endif; ?>
        </div>
    </div>
    <div class="top_nav">
        <div class="top">
            <span class="logo"><img src="<?php echo $site['pcLogo']; ?>" width="80" height="64"></span>
            <div class="city city-box"><span class="city_span"></span><?php echo $cityInfo['name']; ?></div>
            <div class="city_box" id="CPM" style="display:none;">
                <div class="cities-con">
                    <p class="tit">选择城市 <a href="<?php echo url('Index/index@www'); ?>" class="gd_btn">更多城市</a></p>
                    <ul class="cities-opts clearfix">
                        <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li class="clearfix">
                            <em class="icons"><?php echo $key; ?></em>
                            <p>
                                <?php if(is_array($vo) || $vo instanceof \think\Collection || $vo instanceof \think\Paginator): $i = 0; $__LIST__ = $vo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
                                <a <?php if($val['is_hot'] == 1): ?>class="highlight"<?php endif; ?> href="<?php echo url('Index/index@'.$val['domain']); ?>"><?php echo $val['name']; ?></a>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </p>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                    <i></i>
                </div>
                <a href="javascript:;" class="close_btn">×</a>
            </div>
            <div class="nav t_mar">
                <ul>
                    <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                    <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
    </div>
    
    <div class="h_l_s overflow_h">
        <form action="<?php echo url('Loupan/index'); ?>" method="get" id="search-form">
            <div class="h_l_s_box">
<span class="h_l_input">
<input name="keyword" type="text" class="h_l_i" id="keyword" placeholder="请输入楼盘名称">
<a href="javascript:;" class="but03" id="search-btn">搜索</a>
</span>
                <a href="<?php echo url('Map/index'); ?>" class="but04">地图找房</a>
            </div>
        </form>
    </div>
    
</div>

<style>
    .n_h_box01{width:669px;}
</style>
<div class="main m_t_15">
    <div class="position"><p>您当前的位置：<a href="<?php echo url('Index/index'); ?>"><?php echo $site['title']; ?></a> > <a href="<?php echo url('store/index'); ?>">店铺</a>&gt;<?php echo $title; ?> </p></div>
    <div class="overflow_h m_t_15">
        <div class="agent_left">
            <div class="agent_info con-box">
                <div class="info_head">
                    <div class="pic_panel">
    <a href="<?php echo url('store/index',['uid'=>$store['user_id']]); ?>">
        <img  src="<?php echo $user['headimgurl']; ?>">
    </a>
</div>
<div class="info-panel">
    <div class="agent-name overflow_h">
        <a href="<?php echo url('store/index',['uid'=>$store['user_id']]); ?>">
            <h1><?php echo $user['nickname']; ?></h1>
        </a>
        <div class="col-1">
            <div class="main-plate">
                <span class="mp-title">房屋买卖咨询，请致电我。</span>
            </div>


            <div class="achievement">
                <span>联系电话:&nbsp;&nbsp;<?php if(!(empty($user['buy_phone']) || (($user['buy_phone'] instanceof \think\Collection || $user['buy_phone'] instanceof \think\Paginator ) && $user['buy_phone']->isEmpty()))): ?><?php echo $user['buy_phone']; else: ?><?php echo $user['mobile']; endif; ?></span>
                <span>联系邮箱:&nbsp;&nbsp;<?php echo $user['email']; ?></span>
            </div>
            <div class="achievement">
                <span>注册时间:&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$user['reg_time']); ?></span>
            </div>
            <div class="achievement">
                <span>上次登录:&nbsp;&nbsp;<?php echo date('Y-m-d H:i:s',$user['login_time']); ?></span>
            </div>

        </div>
    </div>
</div>
<div class="n_h_box02">
    <p>出售 <span class="text22"><?php echo $user['chushou']; ?></span> 套</p>
    <p>出租 <span class="text22"><?php echo $user['chuzu']; ?></span> 套</p>
</div>
                </div>
                <div class="n_h_n3_l m_t_15">
                    <div class="n_h_n3_t">
                        <ul>
    <li><a href="<?php echo url('store/index',['uid'=>$store['user_id']]); ?>" <?php if($action == 'index'): ?>class="selected"<?php endif; ?> >店铺首页</a></li>
    <li><a href="<?php echo url('store/used',['uid'=>$store['user_id']]); ?>" <?php if($action == 'used'): ?>class="selected"<?php endif; ?>  >二手房</a></li>
    <li><a href="<?php echo url('store/rental',['uid'=>$store['user_id']]); ?>" <?php if($action == 'rental'): ?>class="selected"<?php endif; ?>  >出租房</a></li>
    <li><a href="<?php echo url('store/ask',['uid'=>$store['user_id']]); ?>" <?php if($action == 'ask'): ?>class="selected"<?php endif; ?> >问答</a></li>
    <li><a href="<?php echo url('store/news',['uid'=>$store['user_id']]); ?>" <?php if($action == 'news'): ?>class="selected"<?php endif; ?> >文章</a></li>
</ul>
                    </div>

                    <div class="news_h_box">
                        <ul>
                            <?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "<li>暂无数据</li>" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li class="overflow_h">
                                <span class="n_h_img">
                                    <a title="<?php echo $vo['title']; ?>" href="<?php echo url('News/detail',['id'=>$vo['id']]); ?>">
                                    <img alt="<?php echo $vo['title']; ?>" src="__IMG__/loading.gif" data-original="<?php echo $vo['img']; ?>" class="lazy" width="182" height="138">
                                    </a>
                                </span>
                                <div class="n_h_box01">
                                    <p><b><a target="_blank" href="<?php echo url('News/detail',['id'=>$vo['id']]); ?>"><?php echo $vo['title']; ?></a></b></p>

                                    <p><?php echo $vo['description']; ?>
                                    </p>
                                </div>
                            </li>
                            <?php endforeach; endif; else: echo "<li>暂无数据</li>" ;endif; ?>


                        </ul>

                    </div>
                </div>
            </div>
        </div>
        <div class="house_r">
            <div class="m_t_15">
    <div class="title01"><span class="more"><a href="<?php echo url('Loupan/index'); ?>">更多 ></a></span>热门楼盘</div>
    <div class="hot_h">
        <?php $cityId = $cityInfo['id']; $obj = model("house");$obj->where("status=1 and city=$cityId");$obj->field("id,title,img,average_price,city_name,area_name,open_time");$obj->order("hits desc,id desc");$name = $obj->limit(5)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <dl class="overflow_h">
            <dt><a href="<?php echo url('Loupan/detail',['id'=>$vo['id']]); ?>" title="<?php echo $vo['title']; ?>"><img src="<?php echo $vo['img']; ?>" alt="<?php echo $vo['title']; ?>" width="120" height="90"></a></dt>
            <dd class="hot_h_t1"><a href="<?php echo url('Loupan/detail',['id'=>$vo['id']]); ?>" title="<?php echo $vo['title']; ?>"><?php echo $vo['title']; ?></a></dd>
            <dd class="hot_h_t2"><?php echo $vo['average_price']; ?>元/平米</dd>
            <dd class="hot_h_t3"><?php echo $vo['city_name']; ?><?php echo $vo['area_name']; ?></dd>
            <dd class="hot_h_t3 nowarp" title="<?php echo $vo['open_time']; ?>">开盘时间：<?php echo $vo['open_time']; ?></dd>
        </dl>
        <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
    </div>
</div>



        </div>
    </div>
</div>

<div class="footer clearfix">
    <div class="main">
        <div class="footer_n1">
            <span>服务热线：<?php echo $site['telphone']; ?></span>
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 2): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a target="<?php echo $vo['open_type']; ?>" href="<?php echo $url; ?>"><?php echo $vo['title']; ?></a> </li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="footer_n2 overflow_h">
            <div class="tab02 overflow_h">
                <ul class="idTabs" id="recmond-tab">
                    <li><a href="javascript:;" class="selected"><?php echo $cityInfo['name']; ?>新房推荐</a></li>
                    <li><a href="javascript:;"><?php echo $cityInfo['name']; ?>二手房推荐</a></li>
                    <li><a href="javascript:;">友情链接</a></li>
                </ul>
            </div>
            <div id="recmond-box">
            <div class="f_n3" id="second01">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Loupan/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>新房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second03" style="display:none">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Second/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>二手房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second04" style="display:none">
                <ul>
                    <?php $obj = model("link");$obj->where("status=1");$obj->field("name,url");$obj->order("ordid asc,id desc");$name = $obj->limit(50)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>" target="_blank"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                </ul>
            </div>
            </div>
        </div>
        <div class="footer_n3 clearfix">
            <div class="footer_n3_1">
                <p>Copyright © <?php echo date("Y"); ?> <?php echo config('url_domain_root'); ?>. All Rights Reserved ICP备案号：<?php echo $site['icp']; ?></p>
                <p>公司名称：<?php echo $site['companyname']; ?></p>
            </div>
            <div class="footer_n3_2" >
                <ul>
                    <li>
                        <span><img src="<?php echo $site['weixin_pic']; ?>" width="90" height="90"></span>
                        <p>关注<?php echo $site['title']; ?>微信</p>
                    </li>
                </ul>
            </div>
        </div>

    </div>
</div>
<?php echo $site['countcode']; ?>
<script src="__PUBLIC__/js/plugins/jquery.lazyload.js"></script>
<script>
    $(function(){
        $("img.lazy").lazyload({
            threshold : 100,
            effect : "fadeIn"
        });
        $('.city-box').bind('click',function(){
            $('#CPM').toggle();
        });
        $('.close_btn').bind('click',function(){
            $('#CPM').hide();
        });
        $("#recmond-tab li").bind('click',function(){
            var index = $(this).index();
            $(this).find('a').addClass('selected').parent().siblings().find('a').removeClass('selected');
            $("#recmond-box").children().eq(index).show().siblings().hide();
        });
    });
</script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script>
    $(function(){
        $('#search-btn').bind('click',function(){
            var keyword = $('#keyword').val();
            if(keyword.length==0){
                layer.msg('请填写楼盘关键词',{icon:2});
                return false;
            }
            $('#search-form').submit();
        });
    });
</script>
</body>
</html>
